<!DOCTYPE html>
<html>
	<head>
		<title>CSS Test: flow-into on list items from multiple lists, when items contain other lists</title>
		<link rel="author" title="Mihai Balan" href="mibalan@adobe.com">
		<link rel="help" href="http://www.w3.org/TR/css3-regions/#properties" />
        <link rel="help" href="http://www.w3.org/TR/css3-regions/#the-flow-into-property" />
		<meta name="flags" content="">
		<meta name="assert" content="The flow-into property can be applied to individual list items. List items extracted in named flows and flowed into regions must preserve their list markers or numbering (type, value), even when extracting items from multiple and nested lists into the same named flow.">
		<link rel="match" href="reference/extract-list-items-005-ref.html">
		<style>
		.outer-mixed-1 ul,
		.outer-mixed-1 ol {
			color: blue;
		}

		.outer-mixed-1 > li {
			flow-into: f1;

		}
		#r1 {
			flow-from: f1;
		}
		
		.region {
			margin: 2em;
			background-color: lightgray;
			width: 20em;
		}
		</style>
	</head>
	<body>
		<p>This test passes if there is a gray rectangle with two black lists in it, as described below.<br>
		The first black list is a bulleted list that has a blue numbered list in it.<br>
		The second black list is a numbered list that has two blue nested lists in it: the first nested list is a bulleted list with three items, and the second list is a numbered list with two items.</p>
		<p>The numbers and bullets for the black lists should be rendered outside the gray rectangle, while the blue list items should be indented. Also, the blue bulleted list should have a different type of bullets than the black bulleted list.</p>
		<ul class="outer-mixed-1">
			<li>Unordered list, item 1
				<ol>
					<li>Inner ordered list, item 1</li>
					<li>Inner ordered list, item 2</li>
					<li>Inner ordered list, item 3</li>
				</ol>
			</li>
			<li>Unordered list, item 2</li>
		</ul>
		<ol class="outer-mixed-1">
			<li>Ordered list, item 1
				<ul>
					<li>Unordered inner list, item 1</li>
					<li>Unordered inner list, item 2</li>
					<li>Unordered inner list, item 3</li>
				</ul>
			</li>
			<li>Ordered list, item 2
				<ol>
					<li>Second inner ordered list, item 1</li>
					<li>Second inner ordered list, item 2</li>
				</ol>
			</li>
		</ol>
		<div class="region" id="r1"></div>
	</body>
</html>